<!--
  ~ MIT License
  ~
  ~ Copyright (c) 2021-2022 yangrunkang
  ~
  ~ Author: yangrunkang
  ~ Email: yangrunkang53@gmail.com
  ~
  ~ Permission is hereby granted, free of charge, to any person obtaining a copy
  ~ of this software and associated documentation files (the "Software"), to deal
  ~ in the Software without restriction, including without limitation the rights
  ~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  ~ copies of the Software, and to permit persons to whom the Software is
  ~ furnished to do so, subject to the following conditions:
  ~
  ~ The above copyright notice and this permission notice shall be included in all
  ~ copies or substantial portions of the Software.
  ~
  ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  ~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  ~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  ~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  ~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  ~ SOFTWARE.
  -->

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="index">
<!--css-->
<link th:fragment="css" type="text/css" rel="stylesheet" th:href="${ossStatic} + @{/css/error/error.css}"/>
<!--脚本-->
<script async="async" th:fragment="js" type="text/javascript" th:src="${ossStatic} + @{/js/error/error.js}"></script>
<!--内容-->
<div th:fragment="content">
    <div class="container">
        <div class="row g-2">
            <div class="col-lg-12">
                <div class="card border-0 rounded-3 p-2 mb-2">
                    <div class="card border-0 card-heading mb-2">
                        <div class="lead text-danger fw-bold">资源消失了</div>
                    </div>
                    <div class="mb-2">
                        <div class="alert alert-danger alert-dismissible fade show m-0" th:switch="${ cvException != null }">
                            <div th:case="true" th:utext="${cvException}" class="text-wrap"></div>
                            <div th:case="false" class="text-wrap">访问地址有误或该功能已下线</div>
                            <button type="button" class="btn btn-close rounded-3 bg-gradient-close" data-bs-dismiss="alert" aria-label="Close"></button>
                        </div>
                    </div>
                    <div class="card-footer bg-white">
                        <a href="/login" title="登录">登录</a> |
                        <a href="/register" title="注册">注册</a> |
                        <a href="/integral-rules" title="积分规则">积分规则</a>
                        <br />
                        <br />
                        <a href="javascript:history.go(-1)">返回上一页</a>
                        <br/>
                        <a href="/feedback" title="反馈问题">反馈问题</a>
                        <br />
                        <a href="/">返回首页</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</html>
